package com.falcon.service;

import com.falcon.domain.dos.FileDO;
import com.falcon.domain.req.FileQuery;
import com.falcon.domain.req.FileRequest;
import com.falcon.mvc.anno.LogTime;
import com.falcon.mvc.domain.PagerResponse;

import java.util.List;

public interface IFileService {

    Long save(FileRequest request);

    Boolean update(Long id, FileRequest request);

    Boolean deleteById(Long id);

    @LogTime
    FileDO queryInfoById(Long id);

    List<FileDO> queryList(FileQuery request);

    PagerResponse<FileDO> queryPager(FileQuery request);

}

